package com.ruoyi.project.simple.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单优惠对象 spl_order_coupon
 * 
 * @author zhujj
 * @date 2020-08-11
 */
public class SplOrderCoupon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单优惠 */
    private Integer orderCouponId;

    /** 优惠名称 */
    @Excel(name = "优惠名称")
    private String orderCouponName;

    /** 优惠类型 */
    @Excel(name = "优惠类型")
    private Long couponType;

    /** 满金额 */
    @Excel(name = "满金额")
    private Double totalAmount;

    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private Double coupon;

    /** 删除标志 */
    private String delFlag;

    public void setOrderCouponId(Integer orderCouponId) 
    {
        this.orderCouponId = orderCouponId;
    }

    public Integer getOrderCouponId() 
    {
        return orderCouponId;
    }
    public void setOrderCouponName(String orderCouponName) 
    {
        this.orderCouponName = orderCouponName;
    }

    public String getOrderCouponName() 
    {
        return orderCouponName;
    }
    public void setCouponType(Long couponType) 
    {
        this.couponType = couponType;
    }

    public Long getCouponType() 
    {
        return couponType;
    }
    public void setTotalAmount(Double totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public Double getTotalAmount() 
    {
        return totalAmount;
    }
    public void setCoupon(Double coupon) 
    {
        this.coupon = coupon;
    }

    public Double getCoupon() 
    {
        return coupon;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderCouponId", getOrderCouponId())
            .append("orderCouponName", getOrderCouponName())
            .append("couponType", getCouponType())
            .append("totalAmount", getTotalAmount())
            .append("coupon", getCoupon())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
